# 可变对象：list, set, dict
li = [1, 2, 3]
print(li, id(li))  # [1, 2, 3] 2118892947008
li.append(4)
print(li, id(li))  # [1, 2, 3, 4] 2118892947008
# 不可变对象：int, float, bool, str, tuple
num = 1
print(num, id(num))  # 1 1762789556464
num = 2
print(num, id(num))  # 2 1762789556496
